package com.community.process._1010.dao.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.process._1010.dao.entity.ProcessIngredients;
import com.community.process._1010.dao.vo.ProcessIngredientsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
 * 到餐加工食材 Mapper 接口
 *
 * @author Zbs
 * @since 2024-09-05
 */
@Repository
public interface ProcessIngredientsMapper extends BaseMapper<ProcessIngredients> {

    /**
     * 分页查询
     * @param page page
     * @param wrapper wrapper
     * @return Page<ProcessIngredientsVo>
     */
    Page<ProcessIngredientsVo> getProcessIngredientsVo(Page<ProcessIngredientsVo> page,@Param(Constants.WRAPPER) Wrapper<ProcessIngredientsVo> wrapper);

}
